// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * AmazonReimbursements
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "amazon_reimbursements", autoResultMap = true)
@Schema(title = "亚马逊赔偿表")
public class AmazonReimbursements implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 店铺
   */
  @TableField(value = "`sid`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺")
  private Long sid;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @JoinField(SysRegion.class)
  @Schema(title = "国家")
  private Long country;

  /**
   * 批准日期
   */
  @TableField(value = "`approval_date`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "批准日期")
  private java.util.Date approvalDate;

  /**
   * 赔偿编号
   */
  @TableField(value = "`reimbursement_id`")
  @Schema(title = "赔偿编号")
  private String reimbursementId;

  /**
   * 问题编号
   */
  @TableField(value = "`case_id`")
  @Schema(title = "问题编号")
  private String caseId;

  /**
   * 订单号
   */
  @TableField(value = "`amazon_order_id`")
  @Schema(title = "订单号")
  private String amazonOrderId;

  /**
   * 原因
   */
  @TableField(value = "`reason`")
  @Schema(title = "原因")
  private String reason;

  /**
   * MSKU
   */
  @TableField(value = "`msku`")
  @Schema(title = "MSKU")
  private String msku;

  /**
   * FNSKU
   */
  @TableField(value = "`fnsku`")
  @Schema(title = "FNSKU")
  private String fnsku;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * 标题
   */
  @TableField(value = "`item_name`")
  @Schema(title = "标题")
  private String itemName;

  /**
   * 状况
   */
  @TableField(value = "`condition`")
  @Schema(title = "状况")
  private String condition;

  /**
   * 币种
   */
  @TableField(value = "`currency_unit`")
  @Schema(title = "币种")
  private String currencyUnit;

  /**
   * 每件商品赔偿金额
   */
  @TableField(value = "`amount_per_unit`")
  @Schema(title = "每件商品赔偿金额")
  private String amountPerUnit;

  /**
   * 总金额
   */
  @TableField(value = "`amount_total`")
  @Schema(title = "总金额")
  private String amountTotal;

  /**
   * 赔偿数量（现金）
   */
  @TableField(value = "`quantity_reimbursed_cash`")
  @Schema(title = "赔偿数量（现金）")
  private Integer quantityReimbursedCash;

  /**
   * 赔偿数量（库存）
   */
  @TableField(value = "`quantity_reimbursed_inventory`")
  @Schema(title = "赔偿数量（库存）")
  private Integer quantityReimbursedInventory;

  /**
   * 赔偿数量（总计）
   */
  @TableField(value = "`quantity_reimbursed_total`")
  @Schema(title = "赔偿数量（总计）")
  private Integer quantityReimbursedTotal;

  /**
   * 原始赔偿编号
   */
  @TableField(value = "`original_reimbursement_id`")
  @Schema(title = "原始赔偿编号")
  private String originalReimbursementId;

  /**
   * 赔偿类型
   */
  @TableField(value = "`original_reimbursement_type`")
  @Schema(title = "赔偿类型")
  private String originalReimbursementType;
}
